package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.VideoLike;

/**
 * @author ck
 * @date 2021/11/18 19:06
 */
public interface VideoLikeApi {

    //判断是否已经喜欢
    Boolean hasLiked(Long userId, Long vUserId);

    //保存数据到mongodb
    void save(VideoLike videoLike);

    VideoLike find(Long userId);

    void delete(VideoLike videoLike);
}
